// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   Get.java

package jeeves.guiservices.profiles;

import jeeves.interfaces.Service;
import jeeves.server.*;
import jeeves.server.context.ServiceContext;
import org.jdom.Element;

public class GetAllProfiles
    implements Service
{

    public GetAllProfiles()
    {
    }

    public void init(String s, ServiceConfig serviceconfig)
        throws Exception
    {
    }

    public Element exec(Element params, ServiceContext context)
        throws Exception
    {
        try{
        return context.getProfileManager().getAllProfiles();
        }catch(Exception e){
            e.printStackTrace();
            return null;
        }
    }
}